package main

import "fmt"

func reverseString(s []byte) {
	fmt.Println(string(s))
	for key, value := range s {
		if key >= len(s)/2 {
			break
		}
		s[key] = s[len(s)-key-1]
		s[len(s)-key-1] = value
	}
	fmt.Println(string(s))
}
func main() {
	reverseString([]byte("hello"))
}
